
    <body class="login_bg">
        <div class="content">
            <h1 class="login_title"><span class="big">中锦供应链</span> | 注册</h1>
        </div>
        <div class="login_content">
            <ul class="tab_name">
                <li class="lg" id="login"><i class="login_icon"></i><a>登录</a></li>
                <li class="rg active" id="regist"><i class="regist_icon"></i><a>注册</a></li>
            </ul>
            <div class="login_form_detail">
                <div class="lg_detail hide">
                    <form class="" action="login.html" method="post">
                        <ul class="loginform">
                            <li><input type="number" class="login_input" placeholder="请输入账号/手机号"></li>
                            <li><input type="password" class="login_input" placeholder="请输入密码"></li>
                            <a href="" class="gray_link">忘记密码</a>
                        </ul>
                    </form>
                    <input type="submit" value="登录" class="login_btn">
                </div>
                <div class="rg_detail">
                    <form  action='index.html' method="post">
                        <ul class="registform">
                            <li><input type="number" class="login_input" placeholder="请输入手机号"></li>
                            <li class="code"><input type="text" class="login_input" placeholder="验证码"><input type="button" value="获取验证码" class="get_code"></li>
                            <li><input type="password" class="login_input" placeholder="请输入密码"></li>
                            <li><input type="password" class="login_input" placeholder="请再次输入密码"></li>
                        </ul>
                        <input type="submit" value="提交" class="login_btn">
                    </form>
                </div>
            </div>
        </div>
        <script src="/statics/plugins/jquery-1.7.2.min.js" charset="utf-8"></script>
        <script type="text/javascript">
            $(function(){
                $('#login').on('click',function(){
                    $(this).addClass('active');
                    $('#regist').removeClass('active');
                    $('.lg_detail').css('display','block');
                    $('.rg_detail').css('display','none');
                });
                $('#regist').on('click',function(){
                    $(this).addClass('active');
                    $('#login').removeClass('active');
                    $('.rg_detail').css('display','block');
                    $('.lg_detail').css('display','none');
                })
            })
        </script>
    </body>

